package com.bit.demo1;

import com.bit.demo2.Test2;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 晓星航
 * Date: 2022-11-13
 * Time: 19:17
 */
public class Test extends Test2 {
    public void func() {
        System.out.println(super.val2);
    }

    public static void main(String[] args) {
        Test test = new Test();
        System.out.println(test.val2);
    }

    int val = 10;//默认是   包访问权限
}
